package com.bw.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class TestController {


    @RequestMapping("/test")
    public Object test(){
        return  new HashMap<String,String>(){{
            put("1","1");
            put("2","2");
        }};
    }
}
